import gradio as gr
import os

print(os.getenv('var',"默认值,说明环境变量失效了"))
def greet(name):
    return "你好 " + name + "!!"
    
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
demo.launch(server_name='0.0.0.0')